home *** CD-ROM | disk | FTP | other *** search
/ BCI NET 2 / BCI NET 2.iso / archives / programming / source / xdme_1.84_src.lha / XDME / Util / Var / dll.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-12-22  |  992 b   |  19 lines

  1.  
  2. #include <exec/lists.h>
  3.  
  4. #undef    Prototype
  5. #define Prototype extern
  6.  
  7. Prototype struct Node *DLL_GetHead (struct List *l);
  8. Prototype struct Node *DLL_GetTail (struct List *l);
  9. Prototype struct Node *DLL_GetSucc (struct List *l, struct Node *n);
  10. Prototype void DLL_Sort (struct List *l, int (*comp)(struct Node *, struct Node *));
  11. Prototype void DLL_Filter (struct List *l, struct List *dest, int (*check)(struct Node *, void *), void *ud);
  12. Prototype void DLL_Scan (struct List *l, void (*scan)(struct Node *, void *, int), void *ud);
  13. Prototype int DLL_Length (struct List *list);
  14. Prototype struct Node *DLL_Search (struct List *l, int (*search)(struct Node *, void *), void *ud);
  15. Prototype struct Node *DLL_NumToNode (struct List *l, int num);
  16. Prototype int DLL_NodeToNum (struct List *l, struct Node *n);
  17. Prototype void DLL_Join (struct List *dest, struct List *add);
  18. Prototype void DLL_AddSorted (struct List *l, struct Node *n, int (*comp)(struct Node *, struct Node *, void *), void *ud);
  19.